package cz.cuni.mff.ufal.httpserver;

/**
 * Server state.
 * 
 * @author Bartłomiej Etenkowski
 */
public enum State {
  /** 
   * The server is not running but can be run. Server settings (like port number, thread pool etc.) can be
   * changed in this state. 
   */
  STOPPED,
  /** The server is being started. */
  STARTING,
  /** The server is running. */
  RUNNING,
  /** The server is being stopped. */
  STOPPING,
  /** An error occurred. */
  ERROR
}
